package file_1;

public class Base {

}
class Demo extends Base{
    private int count;
    public Demo (){
        System.out.println("A Demo object has been created");
    }
    protected void addOne(){
        count++;
    }

    public static void main(String[] args) {
        Demo d = new Demo();
        System.out.println(d.count);
    }
}